projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9719067
)
Tweak messaging in re-builder
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 9 Jul 2019 01:25:42 +0000
(
03:25
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 9 Jul 2019 01:44:13 +0000
(
03:44
+0200)
* lisp/emacs-lisp/re-builder.el (reb-copy): Say what we copied to
the kill ring.
lisp/emacs-lisp/re-builder.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/re-builder.el
b/lisp/emacs-lisp/re-builder.el
index cc432e7cb4537668d3f24b574f0787a5a5f1e857..961d26a7212d334108bd0e7fd7e5971eafc21541 100644
(file)
--- a/
lisp/emacs-lisp/re-builder.el
+++ b/
lisp/emacs-lisp/re-builder.el
@@
-455,7
+455,7
@@
matching parts of the target buffer will be highlighted."
(setq re (substring re 1 (1- (length re))))
(setq re (replace-regexp-in-string "\n" "\\n" re nil t))
(kill-new re)
- (message "
Regexp copied to kill-ring"
)))
+ (message "
Copied regexp `%s' to kill-ring" re
)))
;; The subexpression mode is not electric because the number of
;; matches should be seen rather than a prompt.